home *** CD-ROM | disk | FTP | other *** search
- Path: news.microsoft.com!news
- From: a-cnadc@microsoft.com (Dann Corbit)
- Newsgroups: comp.lang.c
- Subject: Re: Why I can not bind
- Date: 22 Feb 1996 21:15:40 GMT
- Organization: Microsoft Corporation
- Message-ID: <4gimds$2l@news.microsoft.com>
- References: <312B86AF.165F@cis.ohio-state.edu>
- NNTP-Posting-Host: 157.57.171.202
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.93.14
-
- In article <312B86AF.165F@cis.ohio-state.edu>, jun@cis.ohio-state.edu says...
- >
- >I am learning to write a simple server using C and
- >socket routines. I encounter the run time error of
- >"Unable to bind". Here below is the code. Thanks in
- >advance for the help. (Actually it is Richard
- >Steven's code and not mine)
-
- Can you ping: 164.107.128.3 ?
-
- When you get an error, your system will diagnose it for you.
- You might try something like:
-
- sprintf(pszMsgOut, "%s:%d (%s)", __FILE__, __LINE__, strerror( errno ) );
-
-
-